import pandas as pd

df = pd.read_json("output.json", orient="values")
df = df.applymap(lambda x: "" if pd.isna(x) else x)

df.to_json("output.json", orient="values")
